<template>
		<view class="cu-load load-modal" v-if="loadModal">
			<!-- <view class="cuIcon-emojifill text-orange"></view> -->
		    <image src="/static/logo.png" mode="aspectFit"></image>
			<!-- <image src="/static/clogo.png" mode="aspectFit"></image> -->
			<!-- <view class="gray-text">加载中...</view> -->
		</view>
</template>

<script>
	export default {
		data() {
			return {
				haslogin:false,
				loadModal:false
			};
		},
		onShow() {	
			this.loadModal = true;
			setTimeout(() => {
				this.loadModal = false;
				if(!this.haslogin){
						uni.redirectTo({
						   url: '/pages/splashvideo/splashvideo',
						})
				}else{
						uni.redirectTo({
						   url: '/pages/index/index',
						})
				}
			}, 100)
		}
	}
</script>

<style lang="scss">
		.video {
			width: 100%;
			height: 100vh;
			position: relative;		
		}
</style>
